package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ActivityPropsDetailVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("权益道具id")
    private Long equityPropsId;

    @ApiModelProperty("道具卡名称")
    private String firstTitle;

    @ApiModelProperty("缩略图")
    private String creationContent;

    @ApiModelProperty("总数量")
    private Integer sumCount;

    @ApiModelProperty("是否有参与对象")
    private Boolean isJoin;

    @ApiModelProperty("参与对象Id")
    private Long relationId;

    @ApiModelProperty("参与对象名称")
    private String relationName;

    @ApiModelProperty("兑换条件")
    private List<ActivityPropsConfVO> confList;

    /**
     * 兑换上限
     */
    @ApiModelProperty("兑换上限")
    private Integer upperLimit;

    @ApiModelProperty("是否开启注册时间限制")
    private Boolean isRegisterTime;

    @ApiModelProperty("注册开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerBeginTime;

    @ApiModelProperty("注册结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerEndTime;

    @ApiModelProperty("品牌id")
    private Long daoId;

    @ApiModelProperty("品牌名称")
    private String daoName;

}
